<div class="style-block" style="background: {{settings.bg_color6}};"> 
<h1>{{blog.title}}</h1> 
{% paginate articles by 20 %}
                          {% for article in articles %}
                          <a name="article-{{ article.id }}"></a>
                          <div class="blog" class="article {% if forloop.first %}first{% endif %}">
                            <h1><a href="{{ article.url }}">{{ article.title }}</a></h1>
                            <p class="date">Опубликовано {{ article.created_at | date: "%d.%m.%Y, %H:%M" }}{% if article.author != null %}, автор {{article.author }}{% endif %}</p>
                            {% unless article.image.compact_url contains 'no_image' %}<img src="{{article.image.compact_url}}" style="float: left; margin-right: 10px; margin-bottom: 10px;"/>{% endunless %}
                            <div class="blog_content editor-content">{{ article.preview }}</div>
                            <div class="blog-details">                              
                              {% if blog.comments_enabled? %}
                              <a href="{{article.url}}#comments">комментарии ({{ article.comments_count }})</a>
                              {% endif %}
                            </div>
                          </div>
                          <br />
                          {% endfor %}
                          {% if paginate.pages > 1 %}
                          {% include 'pagination' %}
                          {% endif %}
                          {% endpaginate %}
</div>